package com.st;

import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.BeanUtils;

public class HOHD {
    public static class User{
        private String name;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
    public static void main(String[] args) {
//        String test = "\u4f60\u597d";
//        System.out.println(test);
//        User user1=new User();
//        user1.name="李四";
//        User user2=new User();
//        BeanUtils.copyProperties(user1,user2);
//        System.out.println(user2.getName());
//        System.out.println(String.format("%03d", 1));
        String json = "{\n" +
                "  \"template\": \"waybill.fr3\",    /*打印模板文件名。除了指定模板文件以外，还支持把模板嵌入到数据文件中，以实现在服务器端灵活使用打印模板，格式如下：*/\n" +
                "                                /*\"template\": \"base64:QTBBRTNEQTE3MkFFQjIzNEFERD<后面省略>\" */\n" +
                "\n" +
                "  \"ver\": 4,                     /*数据模板文件版本*/\n" +
                "  \"Copies\": 3,                  /*打印份数，支持指定打印份数。*/\n" +
                "  \"Duplex\": 1,                  /*可选。是否双面打印，0：默认，不双面，1：垂直，2：水平，3：单面打印(simplex)。*/\n" +
                "  \"Printer\": \"priPrinter\",      /*指定打印机，本系统支持在数据文件中指定打印机，也支持在打印模板中指定打印机*/\n" +
                "  \"Preview\": 1,                 /*可选。是否预览，跟主界面上选择“预览”效果相同，取值为0：不预览，1：预览。*/\n" +
                "  \"PageNumbers\": \"\",            /*可选。要打印的页码范围，同打印机的打印设置里的格式相同，例如：\"1,2,3\"表示打印前3页， “2-5”:表示打印第2到5页，“1,2,4-8”表示打印第1、2、4到8页，专业版、企业版可用。*/\n" +
                "  \"PageTop\": 1,                 /*可选。报表顶部边距，单位毫米。专业版、企业版可用。*/\n" +
                "  \"PageLeft\": 1,                /*可选。报表左边距，单位毫米。专业版、企业版可用。*/\n" +
                "  \"PurePDF\": 0,                 /*可选。以纯PDF方式打印PDF文件，0：否，1：是。主要是用于解决PDF转换成图片后再打印时条码扫描不灵敏的问题。以纯PDF打印模式下，无法把PDF与其他内容集成到一个页面上。专业版、企业版可用。*/ \n" +
                "  \"PdfToImage\": 0,              /*可选。打印PDF时，如果选择PurePDF，则可以指定不把PDF转换成图片，以提高打印速度，但如果不生成图片，则无法预览。专业版、企业版可用。*/ \n" +
                "  \"taskId\": \"1234567\",          /*可选。多个打印任务同时打印时，根据该id确定返回的是哪个打印任务。 */ \n" +
                "  \"PrintToken\": \"康虎软件工作室\", /*可选。打印验证令牌，只有打印验证令牌与付费版本中设定的相符才能打印，用于付费版本用户控制只允许自己企业的版本来打印。专业版、企业版可用。*/\n" +
                "  \"ExportFiles\":\"PDF,DOCX,XLSX,HTML,JPEG,SVG\",  /*可选。自动导出文件,这些文件格式可选。专业版、企业版可用。*/\n" +
                "  \"ReportName\":\"EMS快递面单\",   /*可选。报表名，打印任务中显示该名称，导出文件也以该名称为前缀*/\n" +
                "\n" +
                "  \"Tables\":[                    /*数据表，由多个json对象组成数组，每个json对象代表一张数据表，数据表由字段定义（表结构）和数据行定义（数据记录）组成 */\n" +
                "    {\n" +
                "      \"Name\": \"Waybill\",         /*数据表名*/\n" +
                "      \"Cols\": [                 /*字段定义，由多个json对象组成，每个json对象表示一个字段（与关系数据库字段类似）*/\n" +
                "        {\n" +
                "          \"type\": \"str\",        /*字段类型，可选值：String,Str,Integer,Int,Smallint,Float,Long, Blob，更详细说明参见后面的备注*/\n" +
                "          \"size\": 255,          /*字段长度*/\n" +
                "          \"name\": \"快递单号\",   /*字段名称，必须与打印模板中的打印项名称相同*/\n" +
                "          \"required\": false     /*字段是否必填，该字段可以不设置*/\n" +
                "        },\n" +
                "        { \"type\": \"int\", \"size\": 0, \"name\": \"NO\", \"required\": false },\n" +
                "        { \"type\": \"float\", \"size\": 0, \"name\": \"报关公司面单号\", \"required\": false },\n" +
                "        { \"type\": \"integer\", \"size\": 0, \"name\": \"公司内部单号\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"发件人\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"发件人地址\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"发件人电话\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"发货国家\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"收件人\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"收件人地址\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"收件人电话\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"收货人证件号码\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"收货省份\", \"required\": false },\n" +
                "        { \"type\": \"float\", \"size\": 0, \"name\": \"总计费重量\", \"required\": false },\n" +
                "        { \"type\": \"int\", \"size\": 0, \"name\": \"总件数\", \"required\": false },\n" +
                "        { \"type\": \"float\", \"size\": 0, \"name\": \"申报总价（CNY）\", \"required\": false },\n" +
                "        { \"type\": \"float\", \"size\": 0, \"name\": \"申报总价（JPY）\", \"required\": false },\n" +
                "        { \"type\": \"int\", \"size\": 0, \"name\": \"件数1\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"品名1\", \"required\": false },\n" +
                "        { \"type\": \"float\", \"size\": 0, \"name\": \"单价1（JPY）\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"单位1\", \"required\": false },\n" +
                "        { \"type\": \"float\", \"size\": 0, \"name\": \"申报总价1（CNY）\", \"required\": false },\n" +
                "        { \"type\": \"float\", \"size\": 0, \"name\": \"申报总价1（JPY）\", \"required\": false },\n" +
                "        { \"type\": \"AutoInc\", \"size\": 0, \"name\": \"ID\", \"required\": false },\n" +
                "        { \"type\": \"blob\", \"size\": 0, \"name\": \"附件\", \"required\": false }\n" +
                "      ],\n" +
                "\n" +
                "      \"Data\": [             /*数据行定义，由多个json对象构成，每一个json对象代表一条数据记录，json中每个属性的含义见上面的“字段定义”*/\n" +
                "        {\n" +
                "          \"快递单号\": \"860014010055\",\n" +
                "          \"NO\": 1,\n" +
                "          \"报关公司面单号\": 200303900791,\n" +
                "          \"公司内部单号\": 730293,\n" +
                "          \"发件人\": \"NAKAGAWA SUMIRE 2\",\n" +
                "          \"发件人地址\": \" 991-199-113,Kameido,Koto-ku,Tokyo\",\n" +
                "          \"发件人电话\": \"03-3999-3999\",\n" +
                "          \"发货国家\": \"日本\",\n" +
                "          \"收件人\": \"张三丰\",\n" +
                "          \"收件人地址\": \"上海市闵行区虹梅南路1660弄蔷薇八村99号9999室\",\n" +
                "          \"收件人电话\": \"182-1234-8888\",\n" +
                "          \"收货人证件号码\": null,\n" +
                "          \"收货省份\": null,\n" +
                "          \"总计费重量\": 3.2,\n" +
                "          \"总件数\": 13,\n" +
                "          \"申报总价（CNY）\": null,\n" +
                "          \"申报总价（JPY）\": null,\n" +
                "          \"件数1\": 10,\n" +
                "          \"品名1\": \"纸尿片\",\n" +
                "          \"单价1（JPY）\": null,\n" +
                "          \"单位1\": null,\n" +
                "          \"申报总价1（CNY）\": null,\n" +
                "          \"申报总价1（JPY）\": null,\n" +
                "          \"ID\": 1,\n" +
                "          \"附件\": \"base64/pdf:JVBERi0xLjQKJcDIzNINCjEgMCBvYmoKPDwKL1RpdGxlICh3YXliaWxsLmZyMykKL0F1dGhvciAoc2hlbmcpCi9DcmVhdG9yIChwZGZGYWN0b3J5IFBybyB3d3cucGRmZmFjdG9yeS5jb20pCi9Qcm9kdWNlciAocGRmRmFjdG9yeSBQcm8gNS4zNSBcKFdpbmRvd3MgNyBVbHRpbWF0ZSB4ODYgQ2hpbmVzZSBcKFNpbXBsaWZpZWRcKVwpKQovQ3JlYXRpb25EYXRlIChEOjIwMTcwMjI3MTIyODM2KzA4JzAwJykKPj4KZW5kb2JqCjUgMCBvYmoKPDwKL0ZpbHRlci9GbGF0ZURlY29kZQovTGVuZ3RoIDQwNAo+PnN0cmVhbQ0KS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iAwIG9iago8PAovVHlwZS9WaWV3ZXJQcmVmZXJlbmNlcwo+PgplbmRvYmoKeHJlZgowIDEzCjAwMDAwMDAwMDAgNjU1MzUgZg0KMDAwMDAwMDAxNiAwMDAwMCBuDQowMDAwMDA0MjEzIDAwMDAwIG4NCjAwMDAwMDQxNTggMDAwMDAgbg0KMDAwMDAwMDcxNiAwMDAwMCBuDQowMDAwMDAwMjQxIDAwMDAwIG4NCjAwMDAwMDA4NzIgMDAwMDAgbg0KMDAwMDAwMjkyNyAwMDAwMCBuDQowMDAwMDAxMjQ1IDAwMDAwIG4NCjAwMDAwMDEwNTUgMDAwMDAgbg0KMDAwMDAwMTU2MiAwMDAwMCBuDQowMDAwMDAzOTg5IDAwMDAwIG4NCjAwMDAwMDQzMTAgMDAwMDAgbg0KdHJhaWxlcgo8PAovU2l6ZSAxMwovSW5mbyAxIDAgUgovUm9vdCAyIDAgUgovSURbPDVBMkU0QzkzOTdENEU0RDE3NkIwOTBDRUU3OTMxMzRGPjw1QTJFNEM5Mzk3RDRFNEQxNzZCMDkwQ0VFNzkzMTM0Rj5dCj4+CnN0YXJ0eHJlZgo0MzU2CiUlRU9GCg==\",\n" +
                "        },\n" +
                "        {\n" +
                "          \"快递单号\": \"860014010035\",\n" +
                "          \"NO\": 2,\n" +
                "          \"报关公司面单号\": 200303900789,\n" +
                "          \"公司内部单号\": 730291,\n" +
                "          \"发件人\": \"NAKAGAWA SUMIRE\",\n" +
                "          \"发件人地址\": \" 991-199-113,Kameido,Koto-ku,Tokyo\",\n" +
                "          \"发件人电话\": \"03-3999-3999\",\n" +
                "          \"发货国家\": \"日本\",\n" +
                "          \"收件人\": \"张无忌\",\n" +
                "          \"收件人地址\": \"上海市闵行区虹梅南路1660弄蔷薇八村88号8888室\",\n" +
                "          \"收件人电话\": \"182-1234-8888\",\n" +
                "          \"收货人证件号码\": null,\n" +
                "          \"收货省份\": null,\n" +
                "          \"总计费重量\": 3.2,\n" +
                "          \"总件数\": 13,\n" +
                "          \"申报总价（CNY）\": null,\n" +
                "          \"申报总价（JPY）\": null,\n" +
                "          \"件数1\": 10,\n" +
                "          \"品名1\": \"纸尿片\",\n" +
                "          \"单价1（JPY）\": null,\n" +
                "          \"单位1\": null,\n" +
                "          \"申报总价1（CNY）\": null,\n" +
                "          \"申报总价1（JPY）\": null,\n" +
                "          \"ID\": 2,\n" +
                "          \"附件\":\"base64/gif:R0lGODlhrgCuAPcAAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0NDQ4ODg8PDxAQEBERERISEhMTExQUFBUVFRYWFhcXFxgYGBkZGRoaGhsbGxwcHB0dHR4eHh8fHyAgICEhISIiIiMjIyQkJCUlJSYmJicnJygoKCkpKSoqKisrKywsLC0tLS4uLi8vLzAwMDExMTIyMjMzMzQ0NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD09PT4+Pj8/P0BAQEFBQUJCQkNDQ0REREVFRUZGRkdHR0hISElJSUpKSktLS0xMTE1NTU5OTk9PT1BQUFFRUVJSUlNTU1RUVFVVVVZWVldXV1hYWFlZWVpaWltbW1xcXF1dXV5eXl9fX2BgYGFhYWJiYmNjY2RkZGVlZWZmZmdnZ2hoaGlpaWpqamtra2xsbG1tbW5ubm9vb3BwcHFxcXJycnNzc3R0dHV1dXZ2dnd3d3h4eHl5eXp6ent7e3x8fH19fX5+fn9/f4CAgIGBgYKCgoODg4SEhIWFhYaGhoeHh4iIiImJiYqKiouLi4yMjI2NjY6Ojo+Pj5CQkJGRkZKSkpOTk5SUlJWVlZaWlpeXl5iYmJmZmZqampubm5ycnJ2dnZ6enp+fn6CgoKGhoaKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq6ysrK2tra6urq+vr7CwsLGxsbKysrOzs7S0tLW1tba2tre3t7i4uLm5ubq6uru7u7y8vL29vb6+vr+/v8DAwMHBwcLCwsPDw8TExMXFxcbGxsfHx8jIyMnJycrKysvLy8zMzM3Nzc7Ozs/Pz9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eQqTAtb0cPOqZOLDewXwcQ+s35SNBq9Iw2BY8FeYZSllG3oBWf42QZKNkofjahlRorL0FYUZk6zqWtvR7iwwNLRsbPlISFBJ9vc7lKqFo0pbl3rRTwKd7iUte1+gmk+316Eno1lkVt929pL/me6ucVuAzPr3IeepLrdvSptzxNezbI0f+V9rWhJmd71aQ657dUnbeP7vKfRd5hQHep9KZZf7e13mCwM3H/1qr7NDpiHUz3tgU+KM2wumL9JPOmDBTgws05YqbWS64UBnFUJb5jAb9Luhx8HXPiOWLGBOvF3S2ZgFdNMxC7+bYtjTOMa2/jGOM6xjnfM4x772MYBAQA7\"\n" +
                "        }\n" +
                "      ]\n" +
                "    },\n" +
                "    {\n" +
                "      \"Name\": \"OrderInfo\",   /*第二个数据表*/\n" +
                "      \"Cols\": [\n" +
                "        { \"type\": \"int\", \"size\": 0, \"name\": \"NO\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"快递单号\", \"required\": false },  /*快递单号，与“Waybill”表中的“快递单号”关联，构成主从表结构，“Waybill”是主表，“OrderInfo”是从表*/\n" +
                "        { \"type\": \"float\", \"size\": 0, \"name\": \"订单编号\", \"required\": false },\n" +
                "        { \"type\": \"integer\", \"size\": 0, \"name\": \"下单日期\", \"required\": false },\n" +
                "        { \"type\": \"str\", \"size\": 255, \"name\": \"下单平台\", \"required\": false }\n" +
                "      ],\n" +
                "      \"Data\": [\n" +
                "        {\n" +
                "          \"NO\": 1,\n" +
                "          \"快递单号\": \"860014010055\",\n" +
                "          \"订单编号\": 200303900791,\n" +
                "          \"下单日期\": \"2017-01-20\",\n" +
                "          \"下单平台\": \"天猫\"\n" +
                "        },\n" +
                "        {\n" +
                "          \"NO\": 2,\n" +
                "          \"快递单号\": \"860014010035\",\n" +
                "          \"订单编号\": 200303900792,\n" +
                "          \"下单日期\": \"2017-01-20\",\n" +
                "          \"下单平台\": \"京东\"\n" +
                "        }\n" +
                "      ]\n" +
                "    }\n" +
                "  ]\n" +
                "}";

        ObjectMapper objectMapper = new ObjectMapper();
        objectMapper.configure(JsonParser.Feature.ALLOW_COMMENTS, true);
        objectMapper.configure(JsonParser.Feature.ALLOW_TRAILING_COMMA, true);
        try {
            Object object = objectMapper.readValue(json, Object.class);
            String j=objectMapper.writeValueAsString(object);
            System.out.println(j);

        } catch (JsonProcessingException e) {
            e.printStackTrace();
        }
    }
}
